<?php
/**
 * SiteController class.
 * SiteController is the controller for business portal.
 * 
 * It used for all functions of login, language, singup in beta version phase (after 2012.09.01).
 * 
 * Yawii Business 版权所有 @ 2012.
 */
class HelpController extends Controller
{
	public $layout = 'layout-help';
	public $pageCaption = '';
	
	/**
	 * This is the default 'index' action that is invoked
	 * when an action is not explicitly requested by users.
	 */
	public function actionIndex()
	{
		// renders the view file 'protected/views/site/index.php'
		// using the default layout 'protected/views/layouts/main.php'
		$this->render('about');
	}

	/**
	 * Displays the about us page
	 */
	public function actionAbout()
	{
		$this->render('about');
	}

	/**
	 * Displays the terms page
	 */
	public function actionTerms()
	{
		$this->render('terms');
	}

	/**
	 * Displays the privacy page
	 */
	public function actionPrivacy()
	{
		$this->render('privacy');
	}
}